void I2C_Send(uint8_t dat)
{
    I2C_Transaction i2cTransaction;
    i2cTransaction.readCount=0;
    i2cTransaction.writeCount=1;
    i2cTransaction.readBuf=NULL;
    i2cTransaction.writeBuf=NULL;

    uint8_t dat_H = dat>>7;
    uint8_t dat_L = dat&0x7F;

    i2cTransaction.slaveAddress=dat_H;
    I2C_transfer(Vital_Signs_Global_Stu.I2C_Handle,&i2cTransaction);

    i2cTransaction.slaveAddress=dat_L;
    I2C_transfer(Vital_Signs_Global_Stu.I2C_Handle,&i2cTransaction);
}
void I2C_Send_Buf(uint8_t* buf,uint8_t size)
{
    uint8_t i=0;
    for(i=0;i<size;i++)
    {
        I2C_Send(buf[i]);
    }
}
I2C_Send_Buf(&data[0],2);

I2C_Send_Buf((uint8_t*)&Vital_Signs_Global_Stu.frameNumber,4);
I2C_Send_Buf((uint8_t*)&Vital_Signs_Global_Stu.HeartRate_Out,4);
I2C_Send_Buf((uint8_t*)&Vital_Signs_Global_Stu.BreathingRate_Out,4);
I2C_Send_Buf((uint8_t*)&Vital_Signs_Global_Stu.OutputStats,128);

I2C_Send_Buf(&data[2],2);
